<h1>Account info</h1>
	<p>
	<?php
			$admin = new Gmadmin();
			$admin->where('id',$this->session->userdata('a_id'))
				  ->get(1);
	?>
	<table class="greentable">
			<tr id="form-item_user">
					<td>Username</td>
					<td><input style="width:175px;" type="text" id="user" name="user" value="<?=$admin->username?>" /><p class="error_descr"></p></td>
			</tr>
			<tr id="form-item_email">
					<td>E-mail</td>
					<td><input style="width:175px;" type="text" id="email" name="email" value="<?=$admin->email?>" /><p class="error_descr"></p></td>
			</tr>
			<tr id="form-item_pass">
					<td>Password</td>
					<td><input style="width:175px;" type="password" id="pass" name="pass" value="" /><p class="error_descr"></p></td>
			</tr>
			<tr id="form-item_pass2">
					<td width="200">Confirm password</td>
					<td><input style="width:175px;" type="password" id="pass2" name="pass2" value="" /><p class="error_descr"></p></td>
			</tr>
			<div style="text-align:center;">
				<table cellspacing="0" cellpadding="4">
				<tr>
						<td>
							<span id="edit-stat" style="color:orange;font-weight:bold;display:none;"></span>
							<input type="submit" id="bt-save" value="Save changes" class="submit" />
						</td>
				</tr>
				</table>
			</div>
	</table>
	</p>